Enhanced delivery of content and program instructions

ABSTRACT

A tag/content management system delivers customized content and/or program instructions to a user terminal. The system may deliver several groups of program executable instructions, including instructions that are global to all web domains controlled by a client server and those that are specific to a web page/group of web pages. In addition, this system may allow for the creation of testing environments for websites that include modified content and/or program instructions. Various techniques employed by the system may result in a reduction in the errors and latencies that commonly plague conventional implementations.

TECHNICAL FIELD

Aspects of the disclosure generally relate to delivery of content and/or program instructions to user terminals. In particular, various aspects of the disclosure include customizing the program instructions/content delivered to a user terminal based on numerous criteria, including the IP address of the user terminal, the information requested from the user terminal, and/or others.

BACKGROUND

Web pages are generally written in Hypertext Markup Language (HTML). They are written using HTML elements that include “tags” surrounded by angle brackets; information in the tag tells the web browser how to interpret the HTML element (e.g., as text, for insertion of an image into the webpage, for running a script, etc.). These tags can, among other things, include or can load scripts in languages such as JavaScript™.

Meanwhile, web analytics is a field in which data about customers is collected and analyzed for a variety of purposes. To obtain data for web analytics, a population of users visits a web page and/or starts an application that causes certain program instructions to be executed. Usually, data is collected for web analytics purposes through a variety of mechanisms, including the setting of a cookie and/or by running scripts in the HTML document. The scripts may perform a variety of functions, including grabbing variables from the document object model (DOM) and/or sending back an image request to a data collection server either internally or externally hosted.

The program instructions for web analytics are generally authored and run by a variety of vendors, including Omniture™, Google™, Yahoo™, and Webtrends™, among others, in order to be able to capture data such as web page load times, “mouse overs” (i.e., moving a mouse over a particular object on the web page), and the page requestor's IP address. A medium complexity web page may include 5-10 tags with a reference to computer scripts that are run on servers managed by different vendors.

When a marketer associated with an organization decides that she wants to change the code to measure and analyze different features, the process is often tedious and challenging. In many situations, to perform this update, the marketer must create a new custom variable in the program instructions, define what the new variable is, and specify what data the modified code must capture for the web page. Since the marketer is generally not skilled in how to perform these modifications, she must interface with her information technology (IT) department or other similar agency. Sometimes, even the IT department may not adequately understand the syntax of the web analytics program instructions to properly modify the code, especially given that the myriad web analytics vendors, advertisers, survey researchers, and marketers all have their own custom computer code for effectuating the collection of data for analysis. In other situations, the IT department may not have the appropriate bandwidth to modify the code for deployment on schedule (e.g., for an advertisement campaign deadline, etc). These problems are only exacerbated when a client's website has many pages and/or many different types of program instructions for collecting various data about a user.

BRIEF SUMMARY

In light of the foregoing background, the following presents a simplified summary of the present disclosure in order to provide a basic understanding of some aspects of the invention. This summary is not an extensive overview of the invention. It is not intended to identify key or critical elements of the invention or to delineate the scope of the invention. The following summary merely presents some concepts of the invention in a simplified form as a prelude to the more detailed description provided below.

Aspects of the disclosure address one or more of the issues mentioned above by disclosing methods, computer readable media, and apparatuses for systematically managing the delivery of program instructions and content for a variety of purposes. The information management program may simplify the process by which clients understand the habits of customers that visit their websites.

With another aspect of the disclosure, the delivery of program instructions may be based on location and time-specific rules that are a part of and accessed by the management program.

With another aspect of the disclosure, a management program may coordinate testing of new program instructions by delivering different versions of the program instructions to different recipients based on one or more factors, such as the IP address of the recipient.

Aspects of the disclosure may be provided in a computer-readable medium having computer-executable instructions to perform one or more of the process steps described herein.

This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. The Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.

BRIEF DESCRIPTION OF THE DRAWINGS

The present invention is illustrated by way of example and is not limited in the accompanying figures in which like reference numerals indicate similar elements and in which:

FIG. 1 shows an illustrative operating environment in which various aspects of the disclosure may be implemented.

FIG. 2 is an illustrative block diagram of workstations and servers that may be used to implement the processes and functions of certain aspects of the disclosure.

FIG. 3 shows a tag/content management system operating in a network in accordance with certain aspects of the disclosure.

FIG. 4 shows a flow diagram for using a tag/content manager program to execute both global and page specific code in accordance with certain aspects of the disclosure.

FIG. 5 shows a flow diagram for delivering page specific code to a tag management system in accordance with certain aspects of the disclosure.

FIG. 6 shows a flow diagram for generating the tag/content manager in accordance with certain aspects of the disclosure.

DETAILED DESCRIPTION

As discussed above, there are problems associated with the delivery of program instructions for capturing data for use in areas such as web analytics and/or the delivery of customized content to individuals. A more systematic approach to deploying content and program executable instructions is needed to avoid the errors/latencies involved with the way that present methods work.

In accordance with various aspects of the disclosure, methods, computer-readable media, and apparatuses are disclosed in which an entity manages the delivery of content and program instructions that have been customized for each individual and/or web page. This entity (e.g., a web consulting company) may use aspects of the disclosure to route customized content/instructions to a web browser and/or other computer applications. In general, aspects of the disclosure may be used to manipulate existing objects and add new objects to web pages. Within this context, an object may include both visual and non-visual elements on a web page. As part of the content/instruction delivery vehicle, a front-end user interface may facilitate a non-technical user to describe and implement object creation and manipulation. To provide these services, the entity may take advantage of both internal and external computing and storage capabilities. One example of program instructions delivered to a web browser and/or other application includes those related to initiate the capture of web analytics data when a user terminal accesses a client web page. This collected data may include the name of the web page visited, the download time of the web page, a setting of a cookie for the web page, and the movement of a mouse over a particular object (i.e., “mouse overs”) on a web page. In addition, content such as advertisements, modified images, buttons, and other graphics may be customized to a particular user through this service.

Certain embodiments of this disclosure allow for a content/tag management system/method/program executable instructions that is/are referenced with a single line of computer code that is inserted as a single tag and references a JavaScript™ file. The execution of program instructions in the JavaScript™ file may take care of all tag management, updates, configuration changes, and any other customizations that clients may wish to perform. Third-party vendors may be removed from a client website to allow the manager to take responsibility for delivering the correct program instructions/content at the correct time.

In the following description of the various embodiments of the disclosure, reference is made to the accompanying drawings, which form a part hereof, and in which is shown by way of illustration, various embodiments in which the disclosure may be practiced. It is to be understood that other embodiments may be utilized and structural and functional modifications may be made.

FIG. 1 illustrates a block diagram of a tag/content manager 101 (e.g., a computer server) in communication system 100 that may be used according to an illustrative embodiment of the disclosure. The manager 101 may have a processor 103 for controlling overall operation of the manager 101 and its associated components, including RAM 105, ROM 107, input/output module 109, and memory 115.

I/O 109 may include a microphone, keypad, touch screen, and/or stylus through which a user of device 101 may provide input, and may also include one or more of a speaker for providing audio output and a video display device for providing textual, audiovisual and/or graphical output. Software may be stored within memory 115 to provide instructions to processor 103 for enabling manager 101 to perform various functions. For example, memory 115 may store software used by the manager 101, such as an operating system 117, application programs 119, and an associated database 121. Processor 103 and its associated components may allow the manager 101 to run a series of computer-readable instructions to deploy program instructions according to the type of request that the manager receives. For instance, if a client requests that program instructions for capturing mouse movements for complete session replay be executed, manager 101 may transmit the appropriate instructions to a user's computer when that user visits the client's website.

The manager 101 may operate in a networked environment supporting connections to one or more remote computers, such as terminals 141 and 151. The terminals 141 and 151 may be personal computers or servers that include many or all of the elements described above relative to the manager 101. Alternatively, terminal 141 and/or 151 may be part of a “cloud” computing environment located with or remote from manager 101 and accessed by manager 101. The network connections depicted in FIG. 1 include a local area network (LAN) 125 and a wide area network (WAN) 129, but may also include other networks. When used in a LAN networking environment, the manager 101 is connected to the LAN 125 through a network interface or adapter 123. When used in a WAN networking environment, the server 101 may include a modem 127 or other means for establishing communications over the WAN 129, such as the Internet 131. It will be appreciated that the network connections shown are illustrative and other means of establishing a communications link between the computers may be used. The existence of any of various well-known protocols such as TCP/IP, Ethernet, FTP, HTTP and the like is presumed.

Additionally, an application program 119 used by the manager 101 according to an illustrative embodiment of the disclosure may include computer executable instructions for invoking functionality related to delivering program instructions and/or content.

Computing device 101 and/or terminals 141 or 151 may also be mobile terminals including various other components, such as a battery, speaker, and antennas (not shown).

The disclosure is operational with numerous other general purpose or special purpose computing system environments or configurations. Examples of well known computing systems, environments, and/or configurations that may be suitable for use with the disclosure include, but are not limited to, personal computers, server computers, hand-held or laptop devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, and distributed computing environments that include any of the above systems or devices, and the like.

The disclosure may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The disclosure may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.

Referring to FIG. 2, an illustrative system 200 for implementing methods according to the present disclosure is shown. As illustrated, system 200 may include one or more workstations 201. Workstations 201 may be local or remote, and are connected by one or more communications links 202 to computer network 203 that is linked via communications links 205 to tag/content manager 204. In certain embodiments, workstations 201 may be different storage/computing devices for storing and delivering client-specific program instructions or in other embodiments workstations 201 may be user terminals that are used to access a client website and/or execute a client-specific application. In system 200, manager 204 may be any suitable server, processor, computer, or data processing device, or combination of the same. Throughout this disclosure, tag/content manager 204 will be used to reference both the server/terminal that stores program instructions for tag/content management and the tag/content management program instructions themselves.

Computer network 203 may be any suitable computer network including the Internet, an intranet, a wide-area network (WAN), a local-area network (LAN), a wireless network, a digital subscriber line (DSL) network, a frame relay network, an asynchronous transfer mode (ATM) network, a virtual private network (VPN), or any combination of any of the same. Communications links 202 and 205 may be any communications links suitable for communicating between workstations 201 and server 204, such as network links, dial-up links, wireless links, hard-wired links, etc.

The steps that follow in the Figures may be implemented by one or more of the components in FIGS. 1 and 2 and/or other components, including other computing devices.

FIG. 3 shows a tag/content management system operating in a network in accordance with certain aspects of the disclosure. System 300 includes a user terminal 301, a client server 303, and a cloud computing facility 305. An individual may use user terminal 301 to start a non-browser based client application (e.g., flash application, desktop applications built in Adobe™ Integrated Runtime (AIR)) and/or browse a web page on a client server 303. A client server 303 (i.e., web server) may be a computing device (e.g., computing device 101) operated by a company, school, university, or individual, among others, to provide products/services to the user terminal 301 via the internet. Meanwhile, the cloud computing facility 305 may represent a collection of network resources for storage and computing. The tag/content manager 204 may operate on the cloud 305. These resources may be located at a site local to or remote from the client server 303. Generally, when extra storage space is required on the cloud 305, tag/content manager 204 may request the space “on demand.”

The arrows interconnecting user terminal 301, client server 303, and cloud 305 indicate the method performed by network 300 in accordance with certain embodiments of the disclosure. The method may start at step 307 where the user terminal 301 requests a web page from the client server 303. Upon receiving such a request, client server 303 may return the web page (e.g., an HTML page) to the user terminal 301 in step 309. The HTML web page returned to user terminal 301 may include a tag statement that references the location of the tag/content manager 204 within cloud 305. An example tag statement may be as follows:

<script src=“http://INSERT PATH OF TAG/CONTENT MANAGER (A) FOR CLIENT ”type=“text/javascript”></script>

Of course, variations of this tag may be possible for a variety of reasons; for example, the script referenced may not be written in JavaScript™, the website may require secure connections (e.g., via HTTPS://), etc. Notice that the above line of code may reference a tag/content manager 204 for a particular client web server. For instance, a different JavaScript™ program may exist on cloud 305 for the CNN website versus one for the FOX News website. In other embodiments, the same tag manager 204 may be used for all web domains.

The tag line shown in (A) may be placed into the header, body, or footer of the HTML source file for a particular web page accessed by user terminal 301. In certain embodiments, the tag line shown in (A) may be placed in the header to allow the tag line to execute early on during the loading of the web page accessed by user terminal 301. Generally, when a request for a web page is made by a user terminal 301, the entire HTML page may be downloaded to the terminal 301. Then a parser within the browser of user terminal 301 may parse each element (head, body, footer) of the HTML file into a document object by using the hierarchical HTML structure described in the document object model (DOM). Once parsed, the document objects of the HTML file may be programmatically accessed quickly and easily.

When the code in (A) executes, the method then moves to step 311 where the user terminal 301 may request the tag manager program 204 from cloud 305. If the tag manager program 204 is written in JavaScript™ (i.e., a client-side script), program 204 may be downloaded into a memory 115 of user terminal 301. Once downloaded onto user terminal 301, manager program 204 may execute for a variety of applications, including data collection for web analytics purposes, content delivery, etc. This tag/content delivery method may optionally move to step 313 where the tag manager program 204 may request program executable instructions specific to the particular web page being viewed by user terminal 301. If web page specific instructions exist on cloud 305, these instructions may also be downloaded into a memory 115 of user terminal 301 for execution. The tag/content manager program 204 and the page specific instructions (if they exist) may both reside at separate locations on the cloud computing facility 305.

In one embodiment, the request of page-specific code in step 313 may involve a two-step process. In the first step, the tag manager program 204 may request a PHP, Perl, Python, C, etc. file from the cloud 305. The requested file may subsequently be used to dynamically generate a JavaScript™ program to the user terminal 301. This two step process may help to ensure that the page-specific JavaScript™ instructions are properly sent to and executed on the appropriate user terminal 301.

FIG. 4 shows a flow diagram for using the tag/content manager program 204 to execute both global and page specific code in accordance with certain aspects of the disclosure. The tag manger program 204 may include “translation capabilities” that would allow generic program instructions to be delivered to a user terminal 301 for a particular data collection/delivery need. For instance, if two vendors use different program instructions to collect data regarding mouse movements, the “translation capability” within tag manager 204 may generate generic program instructions that may be understood/used by both vendors. The tag manager program 204 may also comprise objects that include methods to add and execute program instructions from third party vendors in the correct order. These objects may also include methods to ensure that instructions from third party vendors are not run more than once. The tag manager program 204 may expose these methods in a cross-browser compatible way.

In conventional JavaScript™ implementations, try-catch statements are often used to prevent interference with other JavaScript™ on a web page so that user terminal 305 will not crash if scripts called during the page load are run prematurely or out of order (e.g., when a method in a library of methods is called before the library has finished loading, etc.). In accordance with an aspect of the disclosure, some embodiments obviate the need for try-catch “band-aids” by including functions that require methods to execute only after other methods have loaded or other significant events (parsing, loading of the DOM) have occurred. Through a series of callbacks to methods based on vendor-specific libraries already being loaded, the tag manager program 204 ensures that the program instructions are not executed prematurely or out of order. In addition, the order in which methods are executed can be configured by a user. For instance, a user may define an event in relation to which a method may be required to execute. Alternatively, a user may specify the order in which methods are executed in relation to each other. Clients may define the order of execution for these methods through an interface to the tag/content manager 204. The tag manager program 204 also includes objects that may allow program instructions to be delivered/executed based on significant events that have occurred when a web page is requested by a user terminal 301. For instance, when a web page is requested, program instructions may be executed after the document objects within the HTML file have been parsed by the web browser. In addition, program instructions may be executed after the document objects have been loaded by the web browser. The tag manager program 204 may “listen” for these events and execute program instructions after receiving confirmation that the events have occurred.

As another example, consider an individual who has completed an ecommerce transaction that a client 303 wishes to track on a specific web page. To perform this task, the web analytics code may need certain variables to be available from/to the web page; otherwise the code may not be able to collect the necessary data. For instance, if the web analytics code executes before the total order value is produced by the ecommerce engine, the web analytics code may miss the order. To prevent such scenarios, the tag manager 204 may implement functions that ensure that program instructions are executed in the correct order and at the correct time. As mentioned earlier, the program instructions may be executed in an order that may be controlled by the client.

Once a user terminal 301 has requested the tag manager program 204 and the manager program 204 has been parsed by a browser on user terminal 301, the method in FIG. 4 starts out at step 401 where the tag manager program 204 downloaded to user terminal 301 may execute program instructions that are global to all web domains that fall under the purview of the client web server being accessed. In some embodiments, tag manager 204 may request the global code from a separate location on the cloud 305. In other embodiments, the global code may be directly inserted into tag manager 204. Then the method may move to step 403 where the tag manager program 204 requests a “server component” 413 for page specific instructions for the uniform resource locator (URL) requested by the user terminal 301. The server component may be a server (e.g., workstation 201, computing device 101, etc.) residing within or separate from computing cloud 305. The “server component” may determine if page specific instructions exist for the URL requested in step 405. If the server component determines that no page specific instructions exist for the URL requested, the process may end in step 407. Alternatively, if the server component determines that page specific instructions exist for the URL requested, the tag manager program 204 may request the relevant page specific code in step 409. Once tag manager 204 receives the page specific code, the code may be executed on user terminal 301 in step 411 (after the browser has parsed the new document object generated from the code). As mentioned earlier, it should be noted that page specific content (e.g., modified images, HTML text, etc.) may be requested from the server component 413 on cloud 305 just as easily as page specific code.

FIG. 5 shows a flow diagram for allowing the server component to pass page specific code/content (if the code/content exists) to the tag manager 204 in accordance with certain aspects of the disclosure. The method starts out at step 501 where the tag manager 501 may send out a request for page specific code/content to the server component 413 on cloud 305. Based on the identity of the client and the URL being requested, the server component 413 then may access and parse a file that correlates URLs with their appropriate JavaScript™ files for a particular client in step 503. Based on information in the correlation file, the server component 413 may then decide if there is any page specific code for the URL requested in step 505. If there is no page specific code, the process ends in step 507. If there is page specific code, the code is returned to the tag manager 204 in step 509.

As mentioned earlier, it should be noted that the executable code running on the server component 413 may be written in a server-side scripting language such as PHP. Use of a server-side (rather than client-side) scripting language such as PHP ensures that when the server component 413 is called, code is actually run on the server component 413 itself. The results of the executed code (a JavaScript™ file) may then be sent back to the tag manager program 204. Meanwhile, the files containing data for use by the tag manager 204 and/or the server component 413 may be written in a markup language such as XML.

FIG. 6 shows a flow diagram for generating the tag/content manager program 204 in accordance with certain aspects of the disclosure. As mentioned earlier, tag/content manager 204 may be used for a variety of applications, including collection of data for web analytics, for personalized content distribution, for targeted advertisement campaigns, to collect data about use of a company's software products, etc. To perform these functions, the tag/content manager program 204 may need to know “rules” for delivering executable instructions to a user terminal 301 for each client 303. These “rules” may be based on the needs of a particular client 303. For instance, an online retailer may be interested in recording mouse movements on a specific web page advertising products for sale to gauge the level of interest in those products and for aid in determining future offerings. A news website, on the other hand, may be interested in the number of page loads for each article presented so that popular articles may be more accessible on the website. Further still, either of these clients 303 may wish to present personalized content (e.g., a specific news article, a locally popular article for sale) to the user terminal 301 requesting client 303.

Rules may also include the need for delivering certain program instructions only after others have properly loaded to avoid errors in the loading of a web page. For instance, some rules may simply load JavaScript™ libraries from certain vendors for use by other rules. Other rules require execution of program instructions only in the header, body, and/or footer of a HTML file. Ultimately, the tag manager 204 may incorporate the sophistication of all of these rules through the program instructions directly included in the manager 204 and/or through programs/data that the manager 204 accesses (e.g., page specific code files, page correlation XML files, etc.)

As such, the method in FIG. 6 may start out at step 601 with an entity understanding client needs and gathering existing client tags to execute program instructions from third party vendors. This entity may be in charge of the creation and development of the tag manager 204. Based on these needs, the entity may then in step 603 formalize these needs in a “rules file” that details answers to questions such as what type of data (mouse overs, page loads, etc.) the client would like to collect on his website, whether or not there are any page specific rules, whether or not the rules are to be executed on the completion of significant events (DOM parsing, the execution of other rules, etc.), among others. This “rules file” may be created in any text editor, including an XML editor. Alternatively, a client may directly defines rules through a user interface to the tag/content manager 204 either by writing code into a predefined area in the interface or by using an automatic code generation mechanism accessed through the user interface. The interface/backend may then generate the associated JavaScript™ for the rules without requiring manual client intervention. Once all of the rules have been defined (by whichever process), the backend may generate the XML file for a code generator to process. In this way, the XML rules file may serve as a translation from easy-to-understand rules to computing-language specific code that may be executed as program instructions.

Finally, a code generator program residing in the memory 115 of a computing device 100 associated with the entity may codify the formalized rules into program executable instructions (i.e., into scripts such as JavaScript™, PHP, etc.) in step 605. The code generator program may use the “rules file” to generate the tag manager program 204 and page specific code files used by the tag manager program 204. In addition, the code generator may generate data that correlates client URLs with the name of the program file that should be run when a user terminal 301 tries to access the URL. In some embodiments, the tag/content manager 204 may also manage the collection of data and/or the distribution of content in non-browser applications. For instance, desktop applications built/written in Adobe™ Integrated Runtime (AIR), Adobe™ Flex, Adobe™ Flash, C/C++, Java™, and/or applications for mobile platforms like iPhone™, Android™, Windows Mobile™, and/or Blackberry™ may request a tag/content manager 204 to download and execute a library of program instructions from cloud 305. The execution of the library of program instructions may in turn cause the transmission of a request to an entity responsible for creating the tag manager 204, asking for rules describing what should be done inside of the flash application. In addition to performing tracking/analytics, this paradigm may result in all the functionality associated with the web solution (e.g., creating and modifying elements within the flash application, etc.). This paradigm may also result in the ability to dynamically load configuration during an application run time based on various events (e.g., upon an “Autosave” of a document, opening of a new document, etc.) within the application. For example, in flash applications, in addition to loading a rules file, the system may request additional instructions on how to respond to specific events. These instructions may dynamically be generated upon request based on some predefined logic, piece of existing data, or data provided by the application in the request.

Whether data is being collected from a web browser or a non-browser application, the program instructions within the tag/content manager 204 may facilitate the collection of data such as mouse-overs, page loads, and mouse movements. The collection of data may occur when program instructions from third party vendors (e.g., Omniture, Webtrends, Yahoo, Google, etc.) are delivered in a timely fashion based on the rules that have been translated into program instructions by a code generator. The collected data may also include data generated by the client's backend server 303. For instance, a content management system (CMS) local to the client server 303 which manages a client's web page may generate various types of data (e.g., like what template a page is based upon, how long it took to render a page, etc.). This solution may also facilitate the collection of this type of data.

Once collected, the data may be processed in one of two ways. In the first scenario, the collected data may simply be routed to the appropriate third-party vendor (i.e., if an Omniture tag is delivered and executed, then the data collected from the execution of this tag would be routed to an Omniture server.) The third-party vendors may then process and analyze the collected data in a way of their choosing based on client needs.

Alternatively, the collected data may be routed back to and stored on the cloud 305 for access and analysis by computing resources in cloud 305 and/or other computing resources available local to an organization overseeing the creation and development of the tag manager 204. This collected data may be supplemented by collecting and storing additional data about a user of the user terminal 301 from call logs and transaction histories. In this scenario, the organization behind the tag/content manager 204 may provide even more value to its clients 303 because the organization would be providing both management and data analysis services.

The data analysis may encompass a variety of techniques, including data mining algorithms and multivariate testing. As suggested earlier, the output of the data analysis may be fed back into the system to generate new or modified rules (and thus, generate a modified tag manager 204 and/or page specific code files) for delivering program instructions and/or content to a user terminal 301. A simple example of data analysis may include the ability of the system to check to see if there are any records of a user that has loaded a client's web page (i.e., a return visitor). For instance, assume that a user is revisiting a website with the URL www.acme.com. The standard welcome message for first-time visitors to www.acme.com may read as, “Welcome to www.acme.com.” If there is a record of a user John Doe having visited www.acme.com, the welcome message may then be modified to “Welcome back to www.acme.com John Doe.”

In addition, security protocols (passwords, biometric scanning, motion detection, etc.) may be put in place to prevent unauthorized individuals from accessing and manipulating tag manger 204 and its associated helper programs either on the cloud 305 and/or on other computing facilities associated with the entity that develops and modifies the tag manager 204.

The entity generating/modifying the tag manger 204 and its associated components may also implement a front end display/communication module to report results of collected data, communicate recent news and events within the tag/content management and analysis fields, and/or interface with other data including logs from a call center system, offline sales data, offline marketing spend, and others. The front end display may allow access to much/all of the information/analysis generated through the implementation of the tag manager 204. Also, the front end display may allow clients 303 to easily add program instructions representing new rules (via check boxes, buttons, etc) to their web sites/products.

In addition, the interface may allow clients 303 to generate a tag manager program 204 with program instructions representing new rules for testing purposes. For instance, consider that an online retail store wishes to modify its tracking code to collect data on mouse movements for complete session replay. This new rule may be used to generate a modified tag manager 204 for the retail store. The modified tag manager 204 may include code for tracking mouse movements. To ensure that this newly inserted code does not “break” the site (i.e., cause the website to crash), the modified tag manager 204 may be sent only to a specific URL (i.e., a URL used specifically for testing the new code). All other URLs may receive the unmodified version of the tag manager 204. In this way, this implementation may help to dynamically create test environments for use by clients 303 in testing new code, content, and/or any other modifications to their websites, software products, etc.

In summary, tag manager 204 may provide a platform to asynchronously deliver program instructions and/or content to a web page/non-browser application. In other words, manager 204 should not interrupt the execution of the application upon which it has the power to act. As an example, if a user accidentally/intentionally implements a rule that endlessly loops, tag manager 204 may be modular and robust enough to continue to execute. In addition, manager 204 may handle potential errors gracefully (i.e., continuing to load the rest of the web page requested, letting a user decide on how to move forward, etc.).

The manager 204 may also make full use of any techniques that reduce latency for the end-user (e.g., via browser caching, etc.). As detailed in the description above, tag/content manager 204 may control, with a great deal of granularity, the order in which the code it is deploying executes. Through the implementation of a user-friendly web interface, the manager 204 may safely be accessible to non-technical users (e.g., no need for users to hand write XML rules files, no need for users to know JavaScript™/programming, etc.). Along these lines, the manager 204 may control workflow related to the deployment of code and impose constraints in any other way possible to prevent the execution of code that may be harmful (e.g., may cause the application to hang or abort prematurely, etc.) to the application in which the manager 204 is deployed.

Aspects of the invention have been described in terms of illustrative embodiments thereof. Numerous other embodiments, modifications and variations within the scope and spirit of the appended claims will occur to persons of ordinary skill in the art from a review of this disclosure. For example, one of ordinary skill in the art will appreciate that the steps illustrated in the illustrative figures may be performed in other than the recited order, and that one or more steps illustrated may be optional in accordance with aspects of the invention. 

What is claimed is:
 1. A method comprising: receiving, at a server from a user terminal, a first request for first program instructions configured to execute on the user terminal, where the first request is generated in response to the user terminal loading a first data using an application; transmitting, to the user terminal by a computer processor of the server, the first program instructions, wherein the first program instructions comprise a tag manager configured to regulate execution of second program instructions at the user terminal including their order of operation, not executing more than once, and their asynchronous execution; listening, by the tag manager on the user terminal, for predetermined events generated through the application on the user terminal; receiving, at the server, a second request for the second program instructions configured to execute on the user terminal, wherein the second request is generated in response to execution of the first program instructions, and the second request is generated in response to execution of the first program instructions, and the second request includes information about the first data loaded from the application on the user terminal; generating, by the computer processor of the server, the second program instructions comprising analytics tags by parsing the first data and evaluating whether the information about the first data satisfies at least one set of a plurality of sets of program instructions corresponding to analytics tags should be delivered to the user terminal, wherein the analytics tags comprise mouse-over analytics tags; altering, by the tag manager on the user terminal, the order of execution of the second program instructions at the user terminal in response to the generated predetermined events; and routing, from the user terminal to an entity, a second data that has been collected.
 2. The method of claim 1, further comprising: determining, using a processor of the server, the second program instructions based on the information about the first data loaded from the application on the user terminal.
 3. The method of claim 2, further comprising: transmitting, to the user terminal, the second program instructions.
 4. The method of claim 3, further comprising: storing, in computer memory, the collected data.
 5. The method of claim 1, wherein the application comprises a web browser.
 6. The method of claim 1, wherein the second program instructions are dynamically generated upon receiving the second request based on the information within the second request.
 7. The method of claim 1, wherein the first data comprises a web page.
 8. The method of claim 7, wherein the first program instructions are configured to be executed when the web page is loaded at the user terminal.
 9. The method of claim 7, wherein the first program instructions are predefined for a webserver operating the web page.
 10. The method of claim 3, wherein the second program instructions are configured to be executed when at least the first data is loaded at the user terminal.
 11. The method of claim 1, wherein the first and second program instructions comprise client-side scripting code.
 12. The method of claim 3, wherein the first and second program instructions are configured to be executed when a document object model on the user terminal triggers the execution of the first and second program instructions.
 13. The method of claim 1, wherein the second program instructions are configured to display advertisements on a display associated with the user terminal.
 14. The method of claim 1, wherein the second data is related to activities of the user terminal while accessing the first data.
 15. The method of claim 4, further comprising: collecting and storing, in a memory of the server, a third data about a user of the user terminal from call logs and transaction histories.
 16. The method of claim 7, wherein the second data comprise data chosen from the group consisting of: a name associated with the web page loaded, a download time of the web page, a setting of a cookie for the web page, and mouse coordinates during a visit to the web page.
 17. The method of claim 7, wherein the second data comprise data detailing movement of a mouse pointer over an object on the web page.
 18. The method of claim 1, wherein the second data comprise data for deep form field analysis.
 19. The method of claim 1, wherein the second data comprise data for session replay.
 20. The method of claim 4, further comprising analyzing the second data in real time.
 21. The method of claim 20, wherein the analysis comprises executing data mining algorithms.
 22. The method of claim 20, wherein the analysis comprises executing multivariate tests.
 23. The method of claim 20, further comprising using the analyzed data to present specific content to the user terminal.
 24. The method of claim 20, further comprising using the analyzed data to modify the first and second program instructions.
 25. The method of claim 5, wherein the first program instructions are cached in the web browser to reduce latency.
 26. An apparatus comprising: a processor; a memory having stored therein computer executable instructions, that when executed by the processor, cause the apparatus to perform a method of: creating rules for execution of program instructions on a user terminal; using the rules, generating a manager program with first program instructions configured to execute on the user terminal upon receiving a first request from the user terminal, wherein the first request is generated in response to the user terminal downloading data using an application; and using the rules, generating page specific instructions configured to execute on the user terminal upon receiving a second request, wherein the second request is generated in response to execution of the first program instructions; wherein the manager program modifies an order of execution of mouse-over analytics tag with respect to the page specific instructions.
 27. The apparatus of claim 26, wherein the manager program and the page specific instructions are configured to use call back functions to prevent the rules from executing out of order.
 28. The apparatus of claim 26, wherein the method further performs: updating the rules, thereby also updating the manager program and the page specific instructions.
 29. The apparatus of claim 26, wherein the manager program is configured to prevent execution of the first program instructions and the page specific instructions when the manager program detects that the first program instructions and the page specific instructions are harmful.
 30. A method comprising: transmitting, to a user terminal by a computer processor, a first program instructions, wherein the first program instructions comprise a tag manager configured to regulate execution of program instructions at the user terminal including their order of execution and their asynchronous execution; during downloading of a web page on a webserver by a user terminal, receiving a request for page specific program instructions, wherein the request is generated in response to execution of the first program instructions on a user terminal, and wherein the web page comprises mouse-over analytics tags; and transmitting, by the computer processor, the page specific program instructions to the user terminal, wherein the page specific program instructions are configured to execute on the user terminal in an order modified by the tag manager.
 31. The method of claim 30, further comprising: receiving data generated from the execution of the first and page-specific program instructions about activities of the user terminal during a visit to the web page.
 32. The method of claim 31, further comprising: storing the data generated from the execution of the first and page specific program instructions.
 33. The method of claim 32, wherein the page specific program instructions comprise a mouse-over analytics tag, the method further comprising: receiving a request to increase storage capacity.
 34. The method of claim 33, further comprising increasing the storage capacity in response to the request for increased storage capacity.
 35. A non-transitory computer-readable medium storing computer-executable instructions, which when executed by a computer processor, cause the processor to perform steps comprising: downloading a first data from a webserver; in response to downloading the first data, transmitting to a server a first request for firsts program instructions; receiving the first program instructions, wherein the first program instructions comprise a tag manager configured to regulate execution of second program instructions at the user terminal including their order of execution and their asynchronous execution; executing the first program instructions; transmitting to the server a second request for the second program instructions, wherein the second request is generated in response to execution of the first program instructions, and the second request includes information about the first data downloaded from the webserver; receiving the second program instructions; listening, by the tag manager, for predetermined events generated by the computer processor; modifying, by the tag manager, the order of execution of analytics tags, which are in at least one of the first program instructions and second program instructions, in response to the generated predetermined events, wherein the analytics tags comprise mouse-over analytics tags; and executing the second program instructions in accordance with the tag manager.
 36. The computer-readable medium of claim 35, wherein the first and second program instructions comprise client-side scripting programs.
 37. The computer-readable medium of claim 35, wherein the first data comprises a web page.
 38. The apparatus of claim 26, wherein the manager program is configured to regulate execution of page specific instructions at the user terminal including at least one of the page specific instructions order of execution and not executing the page specific instructions more than once.
 39. The apparatus of claim 27, wherein the manager program is further configured to regulate execution of page specific instructions at the user terminal including the asynchronous execution of the page specific instructions. 